{include file="header.html"}
<div> 
{include file='ymdian_order_comment/nav.html'}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>订单</td>
   <td>店铺</td>
 
   <td>评分</td>
    <td>置顶</td>
   <td>时间</td>
  
   <td>内容</td>
   <td>回复</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.order_id}</td>
   <td>{$c.shop_name}</td>
    <td>{$c.grade}</td>
    <td>{if $c.orderindex eq 0}
           <img src="/static/images/no.gif"  class="ajax_yes" url="{$appadmin}?m=ymdian_order_comment&a=orderindex&id={$c.id}&t=1" rurl="{$appadmin}?m=ymdian_order_comment&a=orderindex&id={$c.id}&t=0" /> 
          {else}
           <img src="/static/images/yes.gif" class="ajax_no"  rurl="{$appadmin}?m=ymdian_order_comment&a=orderindex&id={$c.id}&t=1" url="{$appadmin}?m=ymdian_order_comment&a=orderindex&id={$c.id}&t=0" /> 
          {/if}</td>
  <td>{$c.dateline|date:Y-m-d}</td>
  
 
   <td>{$c.content}</td>
   <td>{$c.reply}</td>
  
<td>  <a href="{$admin}?m=ymdian_order_comment&a=show&id={$c.id}">查看</a> <a href="javascript:;" class="delete" url="{$admin}.php?m=ymdian_order_comment&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}